<style type="text/css">
  body { padding-top: 0px; }
  .container{
      padding-top: 10px
        }
</style>



<nav class="navbar navbar-default navbar-static-top">
  <div class="container">
    <!--设置网站LOGO-->
    <div class="navbar-header"> <a class="navbar-brand" href="#"> <img alt="LOGO" src=""></a> </div>

    <ul class="nav nav-pills" id="nav-ui-id">
      <li role="presentation" class="active"><a href="<%= posts_url %> ">首&nbsp;&nbsp;页</a></li>

      <li role="presentation"><a href="#">Profile</a></li>

      <li role="presentation" id="about"><a href="#">关&nbsp;&nbsp;于</a></li>

      <li role="presentation" class="dropdown navbar-right">
        <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
          系统设置<span class="caret"></span>
        </a>
        <ul class="dropdown-menu">
          <li><a href="<%= 'users/sign_in' %>">登&nbsp;&nbsp;录&nbsp;&nbsp;系&nbsp;&nbsp;统</a></li>
          <li><a href="<%=  %>">注&nbsp;&nbsp;&nbsp;&nbsp;销</a></li>


          <li role="separator" class="divider"></li>

          <li><a href="<%= new_post_url %>">写&nbsp;文&nbsp;章&nbsp;&nbsp;</a></li>

          <li role="separator" class="divider"></li>

          <li><a href="#">其&nbsp;&nbsp;他&nbsp;&nbsp;......</a></li>
        </ul>
      </li>
    </ul>

  </div>
</nav>